package com.example.repair_service.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Tag(name="用户交互对象",description = "用户登录返回的数据格式")
public class UserVO implements Serializable {

    @Schema(name="主键值")
    private Long id;

    @Schema(name="用户名")
    private String username;

    @Schema(name="电话号")
    private String mobile;

    @Schema(name="jwt令牌")
    private String token;
}
